import api from '../api';



const getListAsync = async (data) => {
    return await api.postWithToken({
        command: 'I_StockObserve_GetStockObserves',
        data
    })
}

const addAsync = async (data) => {
    return await api.postWithToken({
        command: 'I_StockObserve_New',
        data
    })
}

const delAsync = async (data) => {
    return await api.postWithToken({
        command: 'I_StockObserve_Delete',
        data
    })
}


export default {
    getListAsync,
    addAsync,
    delAsync
}